//
//  YCGoCommentTableViewCell.h
//  lianganyuchu
//
//  Created by iMac on 17/2/27.
//  Copyright © 2017年 杭州桑缇电子商务有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YCGoCommentTableViewCell : UITableViewCell
<UITextViewDelegate>

@property (weak, nonatomic) IBOutlet UIView *backView;
@property (weak, nonatomic) IBOutlet UITextView *textView;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
@property (weak, nonatomic) IBOutlet UILabel *labComment;
@property (weak, nonatomic) IBOutlet UILabel *labTime;
@property (weak, nonatomic) IBOutlet UIButton *btnReply;
@property (weak, nonatomic) IBOutlet UIButton *btnCancel;
@property (weak, nonatomic) IBOutlet UILabel *labPlaceHolder;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *buttonViewTopConstraint;
@property (weak, nonatomic) IBOutlet UIView *buttonView;


- (IBAction)btnCancelClicked:(id)sender;
- (IBAction)btnReplyClicked:(id)sender;

@property (copy, nonatomic) void (^cancelBlock)();
@property (copy, nonatomic) void (^replyBlock)(NSString *text);

-(void)bindWith:(CommentTable *)comment;

@end
